package com.barbeque.mall.bean.goods.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author Euphonium
 * @since 2022/07/18
 */
@NoArgsConstructor
@Data
public class CatAndBrandVO {
    private List<CategoryListBean> categoryList;
    private List<BrandListBean> brandList;

    @NoArgsConstructor
    @Data
    public static class CategoryListBean {
        // table(market_category) - id
        private Integer value;
        // table(market_category) - name
        private String label;

        private List<ChildrenBean> children;

        @NoArgsConstructor
        @Data
        public static class ChildrenBean {
            private Integer value;
            private String label;
        }
    }

    @NoArgsConstructor
    @Data
    public static class BrandListBean {
        // table(market_brand) - id
        private Integer value;
        // table(market_brand) - name
        private String label;
    }
}

